/**
 * 
 */
package kevin.study.zephyr.domain.dao.soda;

import java.util.Comparator;

/**
 * @author Kevin.Huang
 * @date 2007-10-8
 */
public class ZComparator {

	private String field;

	@SuppressWarnings("unchecked")
	private Comparator comparator;

	@SuppressWarnings("unchecked")
	public ZComparator(String field, Comparator comparator) {
		super();
		this.field = field;
		this.comparator = comparator;
	}

	/**
	 * @return the field
	 */
	public String getField() {
		return field;
	}

	/**
	 * @param field
	 *            the field to set
	 */
	public void setField(String field) {
		this.field = field;
	}

	/**
	 * @return the comparator
	 */
	@SuppressWarnings("unchecked")
	public Comparator getComparator() {
		return comparator;
	}

	/**
	 * @param comparator
	 *            the comparator to set
	 */
	@SuppressWarnings("unchecked")
	public void setComparator(Comparator comparator) {
		this.comparator = comparator;
	}

}
